﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DesignerCategory("code"), DebuggerStepThrough, GeneratedCode("svcutil", "3.0.4506.2152"), XmlType(Namespace="http://www.onvif.org/ver10/schema")]
    public class MulticastConfiguration
    {
        private IPAddress addressField;
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private bool autoStartField;
        private int portField;
        private int tTLField;

        [XmlElement(Order=0)]
        public IPAddress Address
        {
            get
            {
                return this.addressField;
            }
            set
            {
                this.addressField = value;
            }
        }

        [XmlAnyElement(Order=4)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=3)]
        public bool AutoStart
        {
            get
            {
                return this.autoStartField;
            }
            set
            {
                this.autoStartField = value;
            }
        }

        [XmlElement(Order=1)]
        public int Port
        {
            get
            {
                return this.portField;
            }
            set
            {
                this.portField = value;
            }
        }

        [XmlElement(Order=2)]
        public int TTL
        {
            get
            {
                return this.tTLField;
            }
            set
            {
                this.tTLField = value;
            }
        }
    }
}

